home *** CD-ROM | disk | FTP | other *** search
/ Ham Radio 2000 / Ham Radio 2000.iso / ham2000 / tcp_ip / rmail213 / whattime.man < prev   
Text File  |  1992-11-07  |  1KB  |  47 lines

  1. WHATTIME(1)  (RATS - The Radio Amateur Telecommunications Society)  WHATTIME(1)
  2.  
  3. NAME
  4.  
  5.     whattime, whatmin, whathour, whatyday, whatwday, whatmday,
  6.         whatmon, whatyear - return a value from the UTC "tm" structure
  7.  
  8. SYNOPSIS
  9.  
  10.     whattime [ min ] [ hour ] [ yday ] [ wday ] [ mday ] [ mon ] [ year ]
  11.     whatmin
  12.     whathour
  13.     whatyday
  14.     whatwday
  15.     whatmday
  16.     whatmon
  17.     whatyear
  18.  
  19. DESCRIPTION
  20.  
  21.     _whattime_ returns as its exit value the value for the named
  22.     component of the "tm" structure returned by gmtime(3c).
  23.  
  24.     The alternate forms of the command simply replace 'time' with
  25.     the desired argument.
  26.  
  27.     Return values range as follow
  28.  
  29.         min    0 to 59 (minute of hour)
  30.         hour    0 to 23 (hour of day)
  31.         yday    0 to 365 (day of year)
  32.         wday    0 to 6 (day of week [0 = Sunday, 6 = Saturday])
  33.         mday    1 to 31 (day of month)
  34.         mon    0 to 11 (month of year)
  35.         year    year - 1900
  36.  
  37.     If the calling name is not one of the alternate forms and there
  38.     is not a valid argument EOF (-1) is returned.
  39.  
  40. AUTHOR
  41.  
  42.     Frank Warren (KB4CYC)
  43.  
  44. SEE ALSO
  45.  
  46.     ctime(3)
  47.